package com.gjy.monitor.controller;

import io.micrometer.core.annotation.Timed;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-10-27 10:57:26
 */
@Timed
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/t1")
    public String t1(){
        return LocalDateTime.now().toString();
    }
}
